Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hook to take effect only when user-defined conditions are met #23

Merged

Conversation

zhaoguochun1995
Copy link
Collaborator

@zhaoguochun1995 zhaoguochun1995 commented Sep 9, 2024

支持hook在用户自定义条件成立时才生效。
用户可自定义条件,如输入shape第1维度大于256等特定输入时fallback, 输出dtype是half的时候才进行autocompare等。

@zhaoguochun1995 zhaoguochun1995 force-pushed the zgc/ditorch_support_user_define_condition_to_make_hook_work branch from 7c3c294 to 4e85579 Compare September 9, 2024 08:21
@yangbofun yangbofun merged commit 6b39137 into main Sep 9, 2024
9 checks passed
@yangbofun yangbofun deleted the zgc/ditorch_support_user_define_condition_to_make_hook_work branch September 9, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants